package com.dingli.framework.mapper;

import com.dingli.framework.entity.User;
import org.springframework.stereotype.Repository;
import java.util.List;

@Repository
public interface UserMapper {
    List<User> getUser(String name);
    int insertUser(String name,String password);
    int deleteUser(int user_id);
    int updateUser(User user);
    List<User> findAll();
    List<User> findOne(int user_id);
}
